package com.lyd.sweet.model;

public class ServiceStatus {
    public static final ServiceStatus SUCCESS = new ServiceStatus("00000", "成功");
    public static final ServiceStatus FAIL = new ServiceStatus("00001", "失败");
    protected String code;
    protected String desc;

    public ServiceStatus(String code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
